<script>
import Son from './Son.vue'

export default {
  name: 'ChildComponent',
  components: {
    Son: Son
  },
  data() {
    return {}
  }
}
</script>

<template>
  <div class="child">
    <h3>我是 Child 组件【子组件】</h3>
    <hr>
    <Son></Son>
  </div>
</template>

<style scoped>
.child {
  background: skyblue;
  padding: 20px;
}
</style>